package com.panshi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableSwagger2 //开启Swagger2功能
@EnableCaching
@EnableDiscoveryClient //开启EurekaClient功能
public class AnswerProvider {
    public static void main( String[] args )
    {
        SpringApplication.run(AnswerProvider.class,args);
    }
}
